#ifndef ASMCOMPILE_H
#define ASMCOMPILE_H

#define GLOBAL_SCOPE -1
#define MAIN_FUNC_NAME "main"

#define MAIN  "main"

class ASMCompile : public TScript {
public:
	int compile(const char *name, const char *out);

private:
	void first_scan();
	void second_scan();
    string unescape(const string &str);

private:
	Lex          _lex;
	LBLTable      _lt;
};

#endif
